﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using Microsoft.WVB.Silverlight.Infrastructure;

namespace Microsoft.WVB.Framework.Entities
{
    public class People : BaseEntity
    {
        public string Name
        {
            get { return _Name; }
            set { _Name = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Name)); }
        }
        private string _Name;

        public Uri Icon
        {
            get { return _Icon; }
            set { _Icon = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Icon)); }
        }
        private Uri _Icon;

        public PeopleInformation PersonalInfo
        {
            get
            {
                return this._PersonalInfo;
            }
            set
            {
                this._PersonalInfo = value;
                OnPropertyChanged(this.GetPropertySymbol(o => o.PersonalInfo));
            }
        }
        private PeopleInformation _PersonalInfo;

        public PeopleRole Role
        {
            get
            {
                return this._Role;
            }
            set
            {
                this._Role = value;
                OnPropertyChanged(this.GetPropertySymbol(o => o.Role));
            }
        }
        private PeopleRole _Role;
      
    }

}
